module.exports = {
    productionSourceMap: false,
    publicPath: process.env.NODE_ENV === 'production' ? './' : '/',

    devServer: {
        open: true,
        proxy: {
            '/api': {
                target: 'http://estate.eshareedu.cn/estate',
                changeOrigin: true,
            }
        }
    },
    configureWebpack:{
        resolve:{
            alias:{
                'views':'@/views',
                'components':'@components',
                'common':'@/components/common',
                'assets':'@/assets'
            }
        }
       
    }


}